<?php

require_once 'E:\wamp\smarty\libs\Smarty.class.php';

class SmartyReady extends Smarty
{
    public function __construct() {
        parent::__construct();
        $this->template_dir = 'E:\wamp\www\JediMusic\smarty\templates';
        $this->config_dir = 'E:\wamp\www\JediMusic\smarty\config';
        $this->compile_dir = 'E:\wamp\smarty\templates_c';
        $this->cache_dir = 'E:\wamp\smarty\cache';
    }

    public function muntarTemplates()  {
        $this->assign("banner","Aqui va el banner");
        $this->assign("cuerpo","Aqui va el cuerpoh");
        $this->assign("bottom","Aqui va el bottom");
        $reprod ='<audio src="/JediMusic/mp3/Poison.mp3" preload="auto">';
        $this->assign("reprod",$reprod);
    }
}
?>
